package com.yz.xyt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableAsync  // 开启线程异步
@EnableScheduling  // 开启定时任务
@SpringBootApplication
public class XytApplication {

    public static void main(String[] args) {
        SpringApplication.run(XytApplication.class, args);
    }


}
